﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Store_Keeper/Store_Keeper.master" AutoEventWireup="true" CodeFile="SK_Rpt_GTN.aspx.cs" Inherits="Store_Keeper_SK_Rpt_GTN" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.XtraReports.v10.2.Web, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.XtraReports.Web" TagPrefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style2
        {
            width: 102px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<table width="100%">
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style5">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style5">
                <strong>Select GTN ID:</strong></td>
            <td>
                <strong>
               
                
                       <dx:aspxcombobox  ID="DropDownList1" runat="server" ClientIDMode="AutoID"  
                        DropDownStyle="DropDown" IncrementalFilteringMode="StartsWith"
                 DataSourceID="SqlDataSource1"
                           
                    TextField="Issue_ID" TextFormatString="{0}"  ValueType="System.String"
                            ValueField="Issue_ID" 
                        CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass" 
                       
                        SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css" 
                    Width="200px" AutoPostBack="True" 
                    onselectedindexchanged="DropDownList1_SelectedIndexChanged" EnableIncrementalFiltering="True" 
                        >
                        <LoadingPanelImage Url="~/App_Themes/BlackGlass/Editors/Loading.gif">
                        </LoadingPanelImage>
                        <ButtonStyle Width="11px">
                        </ButtonStyle>
                        <ValidationSettings ErrorText="Error has occurred">
                            <ErrorFrameStyle ImageSpacing="4px">
                                <ErrorTextPaddings PaddingLeft="4px" />
                            </ErrorFrameStyle>
                        </ValidationSettings>
                    </dx:aspxcombobox>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:BestlifeDBConnectionString %>" 
                    SelectCommand="SELECT [Issue_ID] FROM [Tbl_ISSUE]">
                </asp:SqlDataSource>
                </strong>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style5">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="4">
                <dx:reporttoolbar ID="ReportToolbar1" runat="server" ClientIDMode="AutoID" 
                    Font-Names="Tahoma" Font-Size="9pt" ItemSpacing="0px" 
                    ReportViewer="<%# ReportViewer1 %>" SeparatorColor="#16171B" 
                    SeparatorHeight="100%" SeparatorWidth="1px" ShowDefaultButtons="False" 
                    Width="100%">
                    <Images SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css">
                    </Images>
                    <Items>
                        <dx:ReportToolbarButton ItemKind="Search" />
                        <dx:ReportToolbarSeparator />
                        <dx:ReportToolbarButton ItemKind="PrintReport" />
                        <dx:ReportToolbarButton ItemKind="PrintPage" />
                        <dx:ReportToolbarSeparator />
                        <dx:ReportToolbarButton Enabled="False" ItemKind="FirstPage" />
                        <dx:ReportToolbarButton Enabled="False" ItemKind="PreviousPage" />
                        <dx:ReportToolbarLabel ItemKind="PageLabel" />
                        <dx:ReportToolbarComboBox ItemKind="PageNumber" Width="65px">
                        </dx:ReportToolbarComboBox>
                        <dx:ReportToolbarLabel ItemKind="OfLabel" />
                        <dx:ReportToolbarTextBox IsReadOnly="True" ItemKind="PageCount" />
                        <dx:ReportToolbarButton ItemKind="NextPage" />
                        <dx:ReportToolbarButton ItemKind="LastPage" />
                        <dx:ReportToolbarSeparator />
                        <dx:ReportToolbarButton ItemKind="SaveToDisk" />
                        <dx:ReportToolbarButton ItemKind="SaveToWindow" />
                        <dx:ReportToolbarComboBox ItemKind="SaveFormat" Width="70px">
                            <Elements>
                                <dx:ListElement Value="pdf" />
                                <dx:ListElement Value="xls" />
                                <dx:ListElement Value="xlsx" />
                                <dx:ListElement Value="rtf" />
                                <dx:ListElement Value="mht" />
                                <dx:ListElement Value="html" />
                                <dx:ListElement Value="txt" />
                                <dx:ListElement Value="csv" />
                                <dx:ListElement Value="png" />
                            </Elements>
                        </dx:ReportToolbarComboBox>
                    </Items>
                    <Styles CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" 
                        CssPostfix="BlackGlass">
                        <LabelStyle ForeColor="White">
                        <Margins MarginLeft="3px" MarginRight="3px" />
                        </LabelStyle>
                        <ComboBoxStyle>
                            <Margins MarginLeft="2px" MarginRight="2px" />
                        </ComboBoxStyle>
                        <TextBoxStyle>
                        <Margins MarginLeft="2px" MarginRight="2px" />
                        </TextBoxStyle>
                        <ButtonStyle HorizontalAlign="Center" VerticalAlign="Middle">
                            <Paddings PaddingLeft="11px" PaddingRight="11px" />
                        </ButtonStyle>
                    </Styles>
                    <Border BorderColor="#16171B" BorderStyle="Solid" BorderWidth="1px" />
                </dx:reporttoolbar>
            </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style3" colspan="2">
                     <dx:reportviewer ID="ReportViewer1" runat="server">
                </dx:reportviewer>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        </table>
</asp:Content>

